import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'Home',
      component: () => import('../views/searchpaper.vue')
    },
    {
      path: '/searchpaper',
      name: 'SearchPaper',
      component: () => import('../views/searchpaper.vue')
    },
    {
      path: '/about',
      name: 'About',
      component: () => import('../views/About.vue')
    },
    {
      path: '/subscribe',
      name: 'Subscribe',
      component: () => import('../views/subscribe.vue')
    }
  ]
})

export default router